home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmRemoveProtocols.z / XmRemoveProtocols
Encoding:
Text File  |  2003-11-18  |  3.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllssss((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_s - A    VendorShell function that removes the
  10.       protocols from the protocol manager and deallocates the
  11.       internal tables
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Xm.h>
  15.       #include <Xm/Protocols.h>
  16.  
  17.       void XmRemoveProtocols (sssshhhheeeellllllll,,,, pppprrrrooooppppeeeerrrrttttyyyy,,,, pppprrrroooottttooooccccoooollllssss,,,, nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss)
  18.            _W_i_d_g_e_t     sssshhhheeeellllllll;
  19.            _A_t_o_m     pppprrrrooooppppeeeerrrrttttyyyy;
  20.            _A_t_o_m     **** pppprrrroooottttooooccccoooollllssss;
  21.            _C_a_r_d_i_n_a_l     nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss;
  22.  
  23.       _v_o_i_d _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_s (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollllssss,,,, nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss)
  24.            _W_i_d_g_e_t     sssshhhheeeellllllll;
  25.            _A_t_o_m      **** pppprrrroooottttooooccccoooollllssss;
  26.            _C_a_r_d_i_n_a_l     nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss;
  27.  
  28.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.       _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_s removes the    protocols from the protocol
  30.       manager and deallocates the internal tables.    If any of the
  31.       protocols are    active,    it will    update the handlers and    update
  32.       the property if sssshhhheeeellllllll    is realized.
  33.  
  34.       _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_s is a convenience interface.  It calls
  35.       _X_m_R_e_m_o_v_e_P_r_o_t_o_c_o_l_s with the property value set    to the atom
  36.       returned by interning    _W_M__P_R_O_T_O_C_O_L_S.
  37.  
  38.       sssshhhheeeellllllll
  39.            Specifies the widget with which the protocol property
  40.            is associated
  41.  
  42.       pppprrrrooooppppeeeerrrrttttyyyy
  43.            Specifies the protocol property
  44.  
  45.       pppprrrroooottttooooccccoooollllssss
  46.            Specifies the protocol atoms (or    ints cast to Atom)
  47.  
  48.       nnnnuuuummmm____pppprrrroooottttooooccccoooollllssss
  49.            Specifies the number of elements    in protocols
  50.  
  51.       For a    complete definition of VendorShell and its associated
  52.       resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
  53.  
  54.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  55.       _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_I_n_t_e_r_n_A_t_o_m(_3_X), and
  56.       _X_m_R_e_m_o_v_e_W_M_P_r_o_t_o_c_o_l_s(_3_X).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.